<?php

namespace App\Miya\Models;

use Illuminate\Database\Eloquent\Model;

class MsgForm extends Model
{
    protected $guarded = [];

    static public $captchaStates = [
        1 => '开启',
        2 => '关闭',
    ];

    public function fields()
    {
        return $this->hasMany(MsgFormField::class, 'msg_form_id');
    }
}
